#include "Slot.h"

namespace xpm {
	Slot::Slot(string name):_name(name), _allowsmultipleValues(false), _maxnum(100), _minnum(1) {

	}

	string Slot::name() {
		return _name;
	}

	void Slot::setValueType(ValueType type) {
		_valueType = type;
	}

	ValueType Slot::valueType() {
		return _valueType;
	}

	void Slot::setAllowsmultipleValues(bool allowsmultipleVlues) {
		_allowsmultipleValues = allowsmultipleVlues;
	}
	bool Slot::allowsmultipleValues() {
		return _allowsmultipleValues;
	}
	int Slot::maxnum() {
		return _maxnum;
	}
	int Slot::minnum() {
		return _minnum;
	}
	void Slot::setMaxnum(int maxnum) {
		_maxnum = maxnum;
	}
	void Slot::setMinnum(int minnum) {
		_minnum = minnum;
	}
}